package exo1;

import exception.CompteFermeException;
import exception.CompteNonTransferableException;
import exception.CreditSurPlafondException;
import exception.DebitNonAutoriseException;
import exception.DebitSousSeuilException;

public abstract class CompteSansLimite extends Compte {

	public CompteSansLimite(double solde, Personne nom, int num, int type) {
		super(solde, nom, num, type);
	}

	public abstract boolean transferer(Compte compte, double montant)
			throws CreditSurPlafondException, DebitNonAutoriseException,
			DebitSousSeuilException, CompteFermeException,
			CompteNonTransferableException;

	public abstract boolean debiter(double montant)
			throws DebitNonAutoriseException, DebitSousSeuilException,
			CompteFermeException;

	public abstract boolean crediter(double montant)
			throws CreditSurPlafondException, CompteFermeException;

}
